//
//  Listmodel.m
//  CivilianTravel
//
//  Created by xalo on 16/7/14.
//  Copyright © 2016年 许仕杰. All rights reserved.
//

#import "Listmodel.h"

@implementation Listmodel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"description"]) {
        [self setValue:value forKey:@"description1"] ;
    }
    if ([key isEqualToString:@"pictures"]) {
        for (NSDictionary *l in value) {
            self.picture = l[@"picture"];
        }
        
         }
}

@end
